/*
package com.runfast.waimai.utils;

import com.qiniu.util.Auth;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

*/
/**
 * ${DESCRIPTION}  七牛文件上传token
 *
 * @author chenzheng
 * @create 2018-05-14 16:41
 **//*


@RestController("uploadImgToken")
@RequestMapping("/server/uploadImgToken")
public class UploadImgToken {
    @Value("${qiniu.access.key}")
    private  String accessKey;
    @Value("${qiniu.secret.key}")
    private  String secretKey;
    @Value("${qiniu.bucket}")
    private  String bucket;
    */
/**
     * 获取上传凭证
     *//*

    @GetMapping("/getToken")
    public  String getToken() {
        Auth auth = Auth.create( accessKey,secretKey);
        String upToken = auth.uploadToken(bucket);




        System.out.println(upToken);
        return upToken;

    }



}
*/
